package com.hwadee.job.service;

import java.util.List;

import com.hwadee.job.entity.Admin;
import com.hwadee.job.entity.Company;
import com.hwadee.job.entity.Recruit;
import com.hwadee.job.entity.StudentInfo;
import com.hwadee.job.entity.User;
import com.hwadee.job.util.PageInfo;

public interface AdminService {
	
	User selectByPrimaryKey(Integer id);
	
	Admin selectByZh(String zh);
	
	StudentInfo selectBysIdnumber(String sIdnumber);
	
	List<StudentInfo> select();
	
	int insertstu(StudentInfo record);
	
	int deleteByPrimaryKey(Integer id);
	
	StudentInfo selectByKey(Integer id);
	
	List<Recruit> selectRecruit();
	
	int inserrecruit(Recruit recru);
	
	int deleteByrecruitKey(Integer id);
	
	Recruit selectByRecruitkey(Integer id);
	//分页查询学生信息
	List<StudentInfo> findAll(int page,int size);
	//分页查询招聘信息
	List<Recruit> findAllRecruit(int page,int size);
	//分页查询企业信息
	List<Company> findAllCompany(int page,int size);
	//删除企业
	int deleteBycompanyKey(Integer id);
	

}
